.ExampleWrapper {
  display: block;
  width: 100%;
  height: 100%;
  padding: 2rem 2rem 0;
  overflow: auto;
  background: #263238; /* Codemirror theme */
  box-sizing: border-box;
}

.Example {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  margin-bottom: 2rem;
  flex: 1;
}

.ExampleDemo {
  flex: 1 0 auto;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  padding: 2rem;
  margin: 0 2rem 2rem 0;
  border-radius: 0.25rem;
  background-color: #fff;
  box-shadow: rgba(0, 0, 0, 0.5) 0px 0.5rem 1.5rem;
}

.ExampleButton {
  margin-bottom: 0.5rem;
}

.ExampleCode {
  flex: 1 1 auto;
  max-width: 100%;
  overflow: hidden;
}

.TryItOutLink {
  margin-top: 1rem;
}

.ExampleHeader {
  display: none;
  flex: 0 0 auto;
  background-color: #fff;
  font-weight: lighter;
  font-size: 2rem;
  padding: 2rem 2rem 0 2rem;
  margin: 0;
}

.Grid,
.List {
  border: 1px solid #d9dddd;
}

.GridItemEven,
.GridItemOdd,
.ListItemEven,
.ListItemOdd {
  display: flex;
  align-items: center;
  justify-content: center;
}

.GridItemEven,
.ListItemEven {
  background-color: #f8f8f0;
}

@media (max-width: 37.5rem) {
  .ExampleWrapper {
    padding: 0;
  }

  .ExampleHeader {
    display: block;
  }

  .Example {
    margin-bottom: 0;
  }

  .ExampleDemo {
    width: 100%;
    max-width: 100%;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .ExampleCode {
    padding: 1rem;
  }
}
